NetworkInterface

Defines a network interface.

Members

Functions

put
bool put(FirecrackerAPIClient cl)

Create the network interface via the Firecracker API. * Throws: FirecrackerException on error.

Mixins

__anonymous
mixin BaseModel
Undocumented in source.

Variables

allowMMDSRequests
bool allowMMDSRequests;

Allow requests to the MicroVM Metadata Service

guestMAC
string guestMAC;

The MAC address presented to the guest operating system for this device

hostDevName
string hostDevName;

The host's interface device name that we should use for networking

id
string id;

Required: the Firecracker ID we want to use for this network interface

rxRateLimiter
RateLimiter rxRateLimiter;

Recieve rate limiter, meant to stop network traffic flooding from occuring.

txRateLimiter
RateLimiter txRateLimiter;

Transmit rate limiter, meant to stop network traffic flooding from occuring.

Mixed In Members

From mixin BaseModel

stringify
string stringify()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta